/**
 * @author Jack
 */
dojo.provide("spaghetti.dataset.api.cursor");

dojo.require("spaghetti.utility");

dojo.declare("spaghetti.dataset.api.Cursor", null, {
    //	summary:
    //		The data cursor for dataset. It can be get by a query to dataset. It point to a set of 
    //		records.
    
    /*Record*/
    current: function(){
        //	summary:
        //		Get the current record this cursor pointing.
        
        spaghetti.notImplement("current");
    },
    
    /*Cursor*/
    next: function(){
        //	summary:
        //		Point to next record. If is the last record. Never move. Return the Cursor for shorthand.
        
        spaghetti.notImplement("next");
    },
    
    /*Cursor*/
    prev: function(){
        //	summary:
        //		Point to the preveious record. If is the first record. Never move.
        
        spaghetti.notImplement("prev");
    },
    
    /*Boolean*/
    hasNext: function(){
        //	summary:
        //		Return true if the cursor can move next.
        
        spaghetti.notImplement("hasNext");
    },
    
    /*Boolean*/
    hasPrev: function(){
        //	summary:
        //		Return true if the cursor can move preveious.
        
        spaghetti.notImplement("hasPrev");
    }
});
